<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');


$route['default_controller'] = "main";
$route['404_override'] = '';

$route['(:any)/guarantee'] = "main/guarantee";
$route['(:any)/thanx'] = "main/thanx";
$route['(:any)/terms_and_conditions'] = "main/terms_and_conditions";
$route['(:any)/general_terms'] = "main/general_terms";


// example: '/en/about' -> use controller 'about'
$route['^me/(.+)$'] = "$1";
$route['^en/(.+)$'] = "$1";
$route['^ru/(.+)$'] = "$1";
$route['^de/(.+)$'] = "$1";
// '/en' and '/me' -> use default controller

$route['^me$'] = $route['default_controller'];
$route['^en$'] = $route['default_controller'];
$route['^ru$'] = $route['default_controller'];
$route['^de$'] = $route['default_controller'];

/* End of file routes.php */
/* Location: ./application/config/routes.php */